﻿using Microsoft.Extensions.Configuration;
using System.Configuration;

namespace MiniFox.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    [Section(ELEMENT_NAME)]
    public class AssemblyConfiguration
    {
        internal const string ELEMENT_NAME = "minifox:assemblyLoader";

        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("loadAll")]
        public bool LoadAll {  get; set; }
        /// <summary>
        /// 
        /// </summary>
        [ConfigurationKeyName("assemblies")]
        public AssemblySettingCollection AssemblySettings
        {
            get;
            set;
        } = new();
    }
}
